﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


namespace Common
{
    public partial class IconsHelper
    {
        public static System.Drawing.Bitmap GetBitmap(string name)
        {
            object obj = CommonIcons.ResourceManager.GetObject(name, CommonIcons.Culture);
            return ((System.Drawing.Bitmap)(obj));
        }

        public static System.Drawing.Icon GetIcon(string name)
        {
            object obj = CommonIcons.ResourceManager.GetObject(name, CommonIcons.Culture);
            return ((System.Drawing.Icon)(obj));
        }
    }
}
